#!/usr/bin/env node

//13. 进程间通信之子进程

const cp = require('child_process');

console.log('child PID:',process.pid);
process.on('message',(msg)=>{
  console.log('Message from father',msg)
});

process.send(process.pid);
